package com.version1_1.service;

/**
 * Created by reeves on 2015/8/23.
 */
public interface SubscriService {

    /**
     * 获取热门分类
     * @param number
     * @return
     */
    public String getHotSortation(int number);

    /**
     * 获取推荐界面信息
     * @param pageNumber
     * @return
     */
    public String getSubscriPage(int pageNumber, int pageSize);

    /**
     * 获取推荐界面新的接口
     * @return
     */
    public String getNewSubscriPage();


    /**
     * 订阅单独的三级分类
     * @param userId
     * @param secondType
     * @param thirdTypeName
     * @return
     */
    public boolean subscriThirdType(int userId, int secondType, String thirdTypeName);


    /**
     * 取消订阅单独的三级分类
     * @param userId
     * @param secondType
     * @param thirdTypeName
     * @return
     */
    public boolean removeSubscri(int userId, int secondType, String thirdTypeName);

    /**
     * TODO: 更改用户订阅排序
     * @param userId
     * @param updateUserSubscriOrderStr
     * @return
     */
    public boolean updateUserSubscriOrder(int userId, String updateUserSubscriOrderStr);
}
